package com.zxq.lawenf.pojo;

/**
 * 	案件的枚举
 * 
 * @author 章晓琦
 */
public enum ACaseEnum
{
	/* 枚举中不能包含中划线 */
	
	/* 状态:0:草稿;1:发布;2:部门审批;3:局领导审批;4:结案 */
	STATUS_DRAFT(Byte.valueOf("0"), "草稿"), 
	STATUS_PUBLISHED(Byte.valueOf("1"), "已发布"),
	STATUS_AUDIT_DEPART(Byte.valueOf("2"), "部门审批"),
	STATUS_AUDIT_BUREAU(Byte.valueOf("3"), "局领导审批"),
	STATUS_AUDIT_FINISH(Byte.valueOf("4"), "结案"),
	
	APPTYPE_IMPORT(Byte.valueOf("1"), "重大案件"), 
	APPTYPE_COMMON(Byte.valueOf("0"), "普通案件"),
	
	;

	private byte status;
	private String name;

	private ACaseEnum(byte status, String name)
	{
		this.status = status;
		this.name = name;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}
}
